import BarChart from "./components/BarChart"
import './index.scss'
const Home  = () => {
    const heros = ['剑姬', '剑圣' , '剑魔', '亚索', '艾希' , '维克托' ,'烬']
    const star = ['刘德华', '杨幂' , '胡歌', '周星驰', '成龙' , '张柏芝' ,'张三']
    return (
        <div className="home">
            <BarChart title={'我是你爸爸'} color={'#ff994d'} arrs={heros}></BarChart>
            <BarChart title={'我是你爷爷'} color={'#0ca8df'} arrs={star} ></BarChart>
        </div>
    )
}
export default Home